package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品评价对象 mall_product_review_info
 * 
 * @author ruoyi
 * @date 2025-08-03
 */
public class MallProductReviewInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productId;

    /** 商品SKU */
    @Excel(name = "商品SKU")
    private String productRuleCenterId;

    /** 商品评价图片 */
    @Excel(name = "商品评价图片")
    private String reviewImages;

    /** 商品评价信息 */
    @Excel(name = "商品评价信息")
    private String content;

    /** 乐观锁 */
    private Long revision;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setProductRuleCenterId(String productRuleCenterId) 
    {
        this.productRuleCenterId = productRuleCenterId;
    }

    public String getProductRuleCenterId() 
    {
        return productRuleCenterId;
    }

    public void setReviewImages(String reviewImages) 
    {
        this.reviewImages = reviewImages;
    }

    public String getReviewImages() 
    {
        return reviewImages;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productRuleCenterId", getProductRuleCenterId())
            .append("reviewImages", getReviewImages())
            .append("content", getContent())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
